/**
	Constructs a 

	@author Matthew Richmond
	@version 2006-05-25

	@usage

	- Activate with:
	<code>

	</code>

*/
class timber.drawing.Shape {

	var obj:MovieClip;	//Working Scope
	var mc:MovieClip;	//New clip made to hold shape
	var c:Color;
	
	private var stroke:Boolean = false;
	private var strokeSize:Number = 1;
	private var strokeColor:Number = 0x000000;
	private var strokeAlpha:Number = 100;
	
	private var fill:Boolean = false;
	private var fillColor:Number = 0x000000 ;
	private var fillAlpha:Number = 100;

// ===========================================================
// - CONSTRUCTOR
// ===========================================================

	function Shape (obj:MovieClip) {
		//trace("Shape");
		
		this.obj = obj;
		
		var d = obj.getNextHighestDepth();
		mc = obj.createEmptyMovieClip("shape"+d+"_mc", d)
		
		this.c = new Color(mc);
	};

// ===========================================================
// - ACCESSORS
// ===========================================================

	public function setFill (c:Number, a:Number){
		//trace("setFill");
		
		fill = true;
		fillColor = c;
		fillAlpha = a;
	};
	
	public function setStroke (s:Number, c:Number, a:Number){
		//trace("setStroke");
		
		stroke = true;
		strokeSize = s;
		strokeColor = c;
		strokeAlpha = a;
		
	};
	

};